package cn.xsly.org.domain;

import cn.xsly.basic.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 实体类：员工
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employee extends BaseDomain {
       //用户名
       private String username;
       //邮箱
       private String email;
       //手机
       private String phone;
       //盐值
       private String salt;
       //密码
       private String password;
       //年龄
       private Integer age;
       //状态:1启用  0禁用
       private Integer state = 1;
       //部门ID
       private Long departmentId;
       //当前员工所在部门
       private Department department;
       //登陆信息ID
       private Long logininfoId;
       //店铺ID
       private Long shopId;
       private Shop shop;
       //做回显
       private Long roleId;
}

